package com.nus.servlets;

import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * Created by IntelliJ IDEA.
 * User: dell
 * Date: 9/27/12
 * Time: 12:58 AM
 * To change this template use File | Settings | File Templates.
 */
public class LoadProjectInfoForUpdateServlet extends AbstractServlet{
    public void doPost(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException {
         String targetPage = "/WEB-INF/update_project.jsp";
        request.setAttribute("targetPage", targetPage);

        RequestDispatcher requestDispatcher = request.getRequestDispatcher("viewProjectInfo.do");
        requestDispatcher.forward(request, response);
    }
}
